﻿using Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Entities.CoinEntities.BTCe
{
    [Table("btce_coins")]
    public class BTCeEntity
    {
        [Key]
        [Column("id")]
        public int id { get; set; }

        [Column("high")]
        public double high { get; set; }

        [Column("low")]
        public double low { get; set; }

        [Column("avg")]
        public double avg { get; set; }

        [Column("vol")]
        public double vol { get; set; }

        [Column("vol_cur")]
        public double vol_cur { get; set; }

        [Column("last")]
        public double last { get; set; }

        [Column("buy")]
        public double buy { get; set; }

        [Column("sell")]
        public double sell { get; set; }

        [Column("updatedat")]
        public DateTime? updatedat { get; set; }

        [Column("servertimeat")]
        public DateTime? servertimeat { get; set; }

        [Column("primarycode")]
        public string primarycode { get; set; }

        [Column("secondarycode")]
        public string secondarycode { get; set; }
    }
}
